package com.cblz.bd.server.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cblz.bd.common.core.entity.BaSecurityDataRecycle;
import com.cblz.bd.server.core.entity.AllTables;

import java.util.List;

/**
 * @author yanjieping
 * @description 针对表【ba_security_data_recycle(回收规则表)】的数据库操作Mapper
 * @createDate 2022-11-04 15:09:53
 * @Entity com.cblz.bd.common.core.entity.BaSecurityDataRecycle
 */
public interface BaSecurityDataRecycleMapper extends BaseMapper<BaSecurityDataRecycle> {

    List<AllTables> getAllTableInfo(String dataBase);

    /**
     * 获取主键
     *
     * @param dataBase  数据库
     * @param tableName 表名
     * @return 主键
     */
    List<String> getPrimaryKeyString(String dataBase, String tableName);
}




